package com.ternnetwork.cms.service.carousel;


import java.util.List;
import com.ternnetwork.cms.model.carousel.CarouselContent;
import com.ternnetwork.commons.model.http.BaseResponse;
import com.ternnetwork.persistence.page.Page;

public interface CarouselContentService {
	
	public BaseResponse idoAdd(CarouselContent t);
	
	public BaseResponse idoUpdate(CarouselContent t);
	
    public BaseResponse idoDeleteById(long id);
	 
   	public Page<CarouselContent> query(Page page,String carouselId);
	  
	public String queryToJsonStr(Page page,String carouselId);
	
	public List<CarouselContent> findAllByCarouselCode(String carouselCode);

}
